package cn.wolfcode.crm.query;

import cn.wolfcode.crm.util.StringUtil;
import lombok.Getter;
import lombok.Setter;

/**
 * 产品信息高级查询
 */
@Getter
@Setter
public class ProductQuery extends QueryObject {
    private String keyword;//名称/编号/机构
    private Boolean inSale;//在售状态
    private Boolean noCompensate;//不计免赔
    private Long organizationId = -1L;//机构id

    public String getKeyword() {
        return StringUtil.empty2Null(keyword);
    }
}
